import { House } from "@element-plus/icons-vue";

export default [
  {
    path: "/home",
    layoutLevel: true, // 布局路由不需要显示
    component: () => import("@/components/LayoutComp/LayoutComp.vue"),
    redirect: "/index",
    children: [
      {
        path: "/index",
        meta: {
          title: "首页",
          icon: House,
          i18n: "nav.home",
          parent: "home",
          key: "index",
          requireAuth: true,
          showNav: true,
          noTagsView: false,
        },
        component: () => import("@/views/Home/index.vue"),
        index: 1,
      },
    ],
  },
];
